package com.sikaryofficial.workbench.utils;

import cn.hutool.core.text.CharSequenceUtil;
import lombok.extern.slf4j.Slf4j;

/**
 * 商品业务工具
 */
@Slf4j
public class GoodsUtil {

    /**
     * 组装数据字段值
     * @param style
     * @param brandNo
     * @return
     */
    public static String buildStyleAndBrandNo(String style ,String brandNo) {
        return "|" + (CharSequenceUtil.isBlank(style) ? "" : style) + "|"
                + (CharSequenceUtil.isBlank(brandNo) ? "" : brandNo) + "|";
    }
}
